package com.xebest.web.form;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;


/**
 * @author 杜春静
 */
public class XeVenStoreInfoUpdateForm {

    private String storeId;

    /**
     * 仓库名称
     */
    @NotNull(message = "仓库名称不能为空")
    @NotEmpty(message = "仓库名称不能为空")
    @Length(min = 1, max = 15, message = "仓库名称长度不能大于15个字符")
    private String storeName;

    /**
     * 仓库状态： 1 未启用  2 启用
     */
    private Integer storeStatus;

    /**
     * 联系电话
     */
    @NotNull(message = "联系电话不能为空")
    @NotEmpty(message = "联系电话不能为空")
    @Size(min = 1, max = 11, message = "联系电话不能大于11个字符")
    private String storeTel;

    /**
     * 仓库联系人
     */
    @NotNull(message = "仓库联系人不能为空")
    @NotEmpty(message = "仓库联系人不能为空")
    @Size(min = 1, max = 15, message = "仓库联系人长度不能大于15个字符")
    private String contactPerson;

    /**
     * 仓库所在地 省标识
     */
    @NotNull(message = "仓库所在地 省标识不能为空")
    private Integer provinceId;

    /**
     * 仓库所在地 市标识
     */
    @NotNull(message = "仓库所在地 市标识不能为空")
    private Integer cityId;

    /**
     * 仓库所在地 区标识
     */
    @NotNull(message = "仓库所在地 区标识不能为空")
    private Integer areaId;

    /**
     * 详细地址
     */
    @NotNull(message = "仓库所在地 详细地址不能为空")
    @Size(min = 1, max = 100, message = "仓库联系人长度不能大于100个字符")
    private String storeAddress;

    /**
     * 库温：1冷冻，2冷藏，3常温
     */
    @NotNull(message = "库温不能为空")
    @NotEmpty(message = "库温不能为空")
    private String storeWarm;

    /**
     * 仓库类型：1自有仓库，2三方仓库，3零采仓库，4整柜仓库，5退货仓库
     */
    @NotNull(message = "仓库类型不能为空")
    private Integer storeType;

    /**
     * 仓库用途1批发仓库,2采购供应仓库,3加工仓库,4中转仓库,5零售仓库,6储备仓库,7保税仓库,8退货仓库,9残次品仓库,10零采仓库,11整柜仓库
     */
    @NotNull(message = "仓库用途不能为空")
    @NotEmpty(message = "仓库用途不能为空")
    private String storeUse;

    /**
     * 建筑面积
     */
    @NotNull(message = "建筑面积不能为空")
    @NotEmpty(message = "建筑面积不能为空")
    @Size(min = 1, max = 10, message = "建筑面积内容长度不合法")
    private String storeAcreage;

    /**
     * 使用面积
     */
    @NotNull(message = "仓库用途不能为空")
    @NotEmpty(message = "仓库用途不能为空")
    @Size(min = 1, max = 10, message = "使用面积内容长度不合法")
    private String storeUseAcreage;

    /**
     * WMS接入状态： 1 未接入 2 已接入
     */
    private Integer wmsStatus;

    /**
     * TMS接入状态 ： 1 未接入 2 已接入
     */
    @NotNull(message = "TMS接入状态不能为空")
    private Integer tmsStatus;

    /**
     * 是否允许负库存： 1 是   2 否
     */
    @NotNull(message = "是否允许负库存不能为空")
    private Integer negativeFlag;

    /**
     * 是否记录库存1是 2否
     */
    @NotNull(message = "是否记录库存不能为空")
    private Integer recordInventoryFlag;

    /**
     * 仓库覆盖区域
     */
    private String[] coverAreaArray;

    /**
     * @return the storeName
     */

    public String getStoreName() {

        return storeName;
    }

    /**
     * @param storeName the storeName to set
     */

    public void setStoreName(String storeName) {

        this.storeName = storeName;
    }

    /**
     * @return the storeStatus
     */

    public Integer getStoreStatus() {

        return storeStatus;
    }

    /**
     * @param storeStatus the storeStatus to set
     */

    public void setStoreStatus(Integer storeStatus) {

        this.storeStatus = storeStatus;
    }

    /**
     * @return the storeTel
     */

    public String getStoreTel() {

        return storeTel;
    }

    /**
     * @param storeTel the storeTel to set
     */

    public void setStoreTel(String storeTel) {

        this.storeTel = storeTel;
    }

    /**
     * @return the contactPerson
     */

    public String getContactPerson() {

        return contactPerson;
    }

    /**
     * @param contactPerson the contactPerson to set
     */

    public void setContactPerson(String contactPerson) {

        this.contactPerson = contactPerson;
    }

    /**
     * @return the provinceId
     */

    public Integer getProvinceId() {

        return provinceId;
    }

    /**
     * @param provinceId the provinceId to set
     */

    public void setProvinceId(Integer provinceId) {

        this.provinceId = provinceId;
    }

    /**
     * @return the cityId
     */

    public Integer getCityId() {

        return cityId;
    }

    /**
     * @param cityId the cityId to set
     */

    public void setCityId(Integer cityId) {

        this.cityId = cityId;
    }

    /**
     * @return the areaId
     */

    public Integer getAreaId() {

        return areaId;
    }

    /**
     * @param areaId the areaId to set
     */

    public void setAreaId(Integer areaId) {

        this.areaId = areaId;
    }

    /**
     * @return the storeAddress
     */

    public String getStoreAddress() {

        return storeAddress;
    }

    /**
     * @param storeAddress the storeAddress to set
     */

    public void setStoreAddress(String storeAddress) {

        this.storeAddress = storeAddress;
    }

    /**
     * @return the storeWarm
     */

    public String getStoreWarm() {

        return storeWarm;
    }

    /**
     * @param storeWarm the storeWarm to set
     */

    public void setStoreWarm(String storeWarm) {

        this.storeWarm = storeWarm;
    }

    /**
     * @return the storeType
     */

    public Integer getStoreType() {

        return storeType;
    }

    /**
     * @param storeType the storeType to set
     */

    public void setStoreType(Integer storeType) {

        this.storeType = storeType;
    }

    /**
     * @return the storeUse
     */

    public String getStoreUse() {

        return storeUse;
    }

    /**
     * @param storeUse the storeUse to set
     */

    public void setStoreUse(String storeUse) {

        this.storeUse = storeUse;
    }

    /**
     * @return the storeAcreage
     */

    public String getStoreAcreage() {

        return storeAcreage;
    }

    /**
     * @param storeAcreage the storeAcreage to set
     */

    public void setStoreAcreage(String storeAcreage) {

        this.storeAcreage = storeAcreage;
    }

    /**
     * @return the storeUseAcreage
     */

    public String getStoreUseAcreage() {

        return storeUseAcreage;
    }

    /**
     * @param storeUseAcreage the storeUseAcreage to set
     */

    public void setStoreUseAcreage(String storeUseAcreage) {

        this.storeUseAcreage = storeUseAcreage;
    }

    /**
     * @return the wmsStatus
     */

    public Integer getWmsStatus() {

        return wmsStatus;
    }

    /**
     * @param wmsStatus the wmsStatus to set
     */

    public void setWmsStatus(Integer wmsStatus) {

        this.wmsStatus = wmsStatus;
    }

    /**
     * @return the tmsStatus
     */

    public Integer getTmsStatus() {

        return tmsStatus;
    }

    /**
     * @param tmsStatus the tmsStatus to set
     */

    public void setTmsStatus(Integer tmsStatus) {

        this.tmsStatus = tmsStatus;
    }

    /**
     * @return the negativeFlag
     */

    public Integer getNegativeFlag() {

        return negativeFlag;
    }

    /**
     * @param negativeFlag the negativeFlag to set
     */

    public void setNegativeFlag(Integer negativeFlag) {

        this.negativeFlag = negativeFlag;
    }

    /**
     * @return the recordInventoryFlag
     */

    public Integer getRecordInventoryFlag() {

        return recordInventoryFlag;
    }

    /**
     * @param recordInventoryFlag the recordInventoryFlag to set
     */

    public void setRecordInventoryFlag(Integer recordInventoryFlag) {

        this.recordInventoryFlag = recordInventoryFlag;
    }


    /**
     * @return the coverAreaArray
     */

    public String[] getCoverAreaArray() {

        return coverAreaArray;
    }

    /**
     * @param coverAreaArray the coverAreaArray to set
     */

    public void setCoverAreaArray(String[] coverAreaArray) {

        this.coverAreaArray = coverAreaArray;
    }

    /**
     * @return the storeId
     */

    public String getStoreId() {

        return storeId;

    }


    /**
     * @param storeId the storeId to set
     */

    public void setStoreId(String storeId) {

        this.storeId = storeId;

    }


}
  
